package com.cd.javacxy.common.model.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * cxy_shuoshuo实体类
 *
 * @author yhy
 */
@Data
public class CxyShuoshuo {
    /***/
    private Integer id;
    /***/
    private Integer userId;
    /***/
    private String userIcon;
    /***/
    private String userName;
    /***/
    private String imageUrl;
    /***/
    private String imageUrlSmall;
    /***/
    private String musicUrl;
    /***/
    private String content;
    /***/
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /***/
    private Integer commentCount;
    /***/
    private Integer likeCount;

    private List<CxyShuoshuoComment> commentList = new ArrayList<>();

    private List<CxyShuoshuoLike> shuoShuoLikeList = new ArrayList<>();

}
